'''
Created on 06/12/2011

@author: marina
'''
import time

class Disc :
    


    def __init__(self):
        self.disk = {}
    
    def load(self, name, program):
        self.disk[name] = program
        
    def read(self, name):
        print "Leyendo de Disco."
        time.sleep(0.2)
        print "Leyendo de Disco.."
        time.sleep(0.2)
        print "Leyendo de Disco..."
        time.sleep(0.2)
        return self.disk[name]
        
    def delete(self, name):
        self.disk.pop(name)
    
    def __repr__(self):
        return 'Prog "%s"' % (self.disk)